//
//  QuickaboutLongdistancetoseeadoctor.m
//  WE
//
//  Created by 要帅气的生活 on 15/11/21.
//  Copyright © 2015年 UNOHACHA. All rights reserved.
//

#import "QuickaboutLongdistancetoseeadoctor.h"
#import "BaseView.h"
@implementation QuickaboutLongdistancetoseeadoctor

-(instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self){
        _label = [[UILabel alloc] initWithFrame:CGRectMake(10, self.frame.size.height/3, self.frame.size.width/2-10,self.frame.size.height/3)];
        [self addSubview:_label];
        _right = [[UILabel alloc] initWithFrame:CGRectMake(self.frame.size.width/2, self.frame.size.height/3, self.frame.size.width/2-34, self.frame.size.height/3)];
        [self addSubview:_right];
        _img = [[UIImageView alloc] initWithFrame:CGRectMake(self.frame.size.width-30, self.frame.size.height/3, 20, self.frame.size.height/3)];
        [self addSubview:_img];
        
        
        _label.textAlignment = 0;
        _label.font = [UIFont systemFontOfSize:14];
       
        _img.image = [UIImage imageNamed:@"you"];
        
        _right.textAlignment  = 2;
        _right.font = [UIFont systemFontOfSize:14];
    }
    self.backgroundColor = [UIColor whiteColor];
    return self;
}

@end
